7c45899479fb7880ebb2b036bc6b51ebadbb17a4,src/com/redhat/ceylon/compiler/loader/model/LazyPackage.java,LazyPackage,getDirectMember,#String#List#,70

Before Change


        ClassMirror classSymbol = modelLoader.lookupClassMirror(className);
        // only get it from the classpath if we're not compiling it
        if(classSymbol != null && !classSymbol.isLoadedFromSource()) {
            Declaration d = modelLoader.convertToDeclaration(className, DeclarationType.VALUE);
            if (d instanceof Class) {
                if ( ((Class) d).isAbstraction()) {
                    return lookupMember(compiledDeclarations, name, signature, false);

After Change


        String className = getQualifiedName(pkgName, name);
        
        Declaration d = lookupMember(compiledDeclarations, name, signature, false);
        if (d != null) {
            return d;
        }
        
        ClassMirror classSymbol = modelLoader.lookupClassMirror(className);
        // only get it from the classpath if we're not compiling it
        if(classSymbol != null && !classSymbol.isLoadedFromSource()) {
            d = modelLoader.convertToDeclaration(className, DeclarationType.VALUE);
            if (d instanceof Class) {
                if ( ((Class) d).isAbstraction()) {
                    return lookupMember(compiledDeclarations, name, signature, false);